<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
  <head>
    <%@ include file="/WEB-INF/backstage/base.jsp" %>
    <title>SWIFT4J快速开发平台</title>
    
    <script type="text/javascript" src="<%=bp%>js/jscharts/jscharts_mb.js"></script>
  </head>
  
<body>
	<div style="text-align: right;"><a href="javascript:location.href=document.referrer;">返回</a></div>
	<h5>重症肌无力——	性别统计</h5>
	<div id="graph">Loading graph...</div>
	
<script type="text/javascript">
	var myData = new Array(${data});
	var colors = ['#0673B8', '#F85900'];
	var myChart = new JSChart('graph', 'pie');
	myChart.patchMbString(); 
	myChart.setDataArray(myData);
	myChart.colorizePie(colors);
	myChart.setTitle(' ');
	myChart.setTitleColor('#8E8E8E');
	myChart.setTitleFontSize(15);
	myChart.setTextPaddingTop(280);
	myChart.setPieValuesDecimals(0);
	myChart.setPieUnitsFontSize(9);
	myChart.setPieValuesFontSize(8);
	myChart.setPieValuesColor('#fff');
	myChart.setPieUnitsColor('#969696');
	myChart.setSize(616, 321);
	myChart.setPiePosition(308, 145);
	myChart.setPieRadius(95);
	myChart.setFlagColor('#fff');
	myChart.setFlagRadius(4);
	myChart.setTooltipOpacity(1);
	myChart.setTooltipBackground('#ddf');
	myChart.setTooltipPosition('ne');
	myChart.setTooltipOffset(2);
	myChart.draw();
</script>
</body>
</html>
